﻿@model Model.Sys.SysUserModel
@{
    Layout = "~/Views/Shared/MyLayOutNew.cshtml";
}
<link rel="stylesheet" type="text/css" href="~/css/style.css" />

<script src="~/javascript/jquery.js"></script>
<main class="main-cont content mCustomScrollbar">
    @using (Html.BeginForm("SaveData", "SysUser", FormMethod.Post))
    {
        <div class="page-wrap">
            <!--开始::内容-->
            <section class="page-hd">
                <header>
                    <h2 class="title">新增用户</h2>

                </header>
                <hr>
            </section>
            <div class="form-group-col-2">
                @Html.TextBoxFor(m => m.ID, new { @style = "display:none" })
                <div class="form-label">登录账号：</div>
                <div class="form-cont">
                    @Html.TextBoxFor(m => m.LoginName, new { @class = "form-control form-boxed", style = "width:30%;" })
                
                </div>

            </div>
            <div class="form-group-col-2">
                <div class="form-label">密码：</div>
                <div class="form-cont">
                    @Html.TextBoxFor(m => m.Pwd, new { @class = "form-control form-boxed", style = "width:30%;" })

                </div>

            </div>

            <div class="form-group-col-2">
                <div class="form-label">真实姓名：</div>
                <div class="form-cont">
                    @Html.TextBoxFor(m => m.RealName, new { @class = "form-control form-boxed", style = "width:30%;" })
                </div>
            </div>



            <div class="form-group-col-2">
                <div class="form-label">所属机构：</div>
                <div class="form-cont">
                    @Html.DropDownListFor(m => m.EnterpriseId, ViewData["selectList"] as IEnumerable<SelectListItem>, new { @id = "dropdownlist", style = "width:30%;" })

                </div>

            </div>
            

            <div class="form-group-col-2">
                <div class="form-label">所属角色：</div>
                <div class="form-cont">
                    @Html.DropDownListFor(m => m.RoleId, ViewData["selectRoleList"] as IEnumerable<SelectListItem>, new { @style = "width:30%;" })



                </div>
            </div>

            <div class="form-group-col-2">
                <div class="form-label">手机号：</div>
                <div class="form-cont">
                    @Html.TextBoxFor(m => m.Modile, new { @class = "form-control form-boxed", style = "width:30%;" })

                </div>
            </div>
            <div class="form-group-col-2">
                <div class="form-label">备注：</div>
                <div class="form-cont">
                    @Html.TextAreaFor(m => m.Remark, new { @class = "form-control form-boxed", style = "width:30%;" })
                </div>
            </div>





            <div class="form-group-col-2">
                <div class="form-label"></div>
                <div class="form-cont">
                    <input type="submit" class="btn btn-primary" value="保存" />
                  
                </div>
            </div>
            <!--开始::结束-->
        </div>


    }


</main>
